-- GENERATED SPELL FOR [Warmage Lukems] --


function spell0_32722(pUnit, Event) --@Frost Armor,Self--
pUnit:FullCastSpellOnTarget(12544,pUnit)
pUnit:RegisterEvent('Sorts_32722', 0, 1)
end

function Sorts_32722(pUnit, Event)
local choix_sorts_32722 = math.random(0, 0)
if choix_sorts_32722 == 0 then
pUnit:RegisterEvent('spell0_32722', 1, 1)
end
end

function mob32722_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32722', math.random(1500, 3000), 1)
end

function mob32722_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32722_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32722_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32722, 1, 'mob32722_Action')
RegisterUnitEvent(32722, 2, 'mob32722_Leave')
RegisterUnitEvent(32722, 3, 'mob32722_Kill')
RegisterUnitEvent(32722, 4, 'mob32722_Die')
